package com.yunatt.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("device")
public class DeviceEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String serialNum;

    private Integer status;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getSerialNum() {
        return serialNum;
    }

    public void setSerialNum(String serialNum) {
        this.serialNum = serialNum;
    }

    @Override
    public String toString() {
        return "DeviceEntity{" +
                "id=" + id +
                ", serialNum='" + serialNum + '\'' +
                ", status=" + status +
                '}';
    }
}
